
// let loginUrl = '/login';
// let hotSearchUrl = '/ebapi/store_api/hot_search';
// let indexUrl = '/ebapi/public_api/index';
// let bannerUrl = '/banner/json';//首页轮播
// let articleUrl = '/article/list/1/json';//首页列表
// let projectUrl = '/project/list/1/json?cid=294';//某一个分类下项目列表数据
let guideUrl = '/cats/lv2/statistics';//某一个分类下项目列表数据

const install = (Vue,vm) =>{
	// let getSearch = (params = {}) => vm.$u.get(hotSearchUrl,{id:2});
	// let getInfo = (params = {}) => vm.$u.post(indexUrl,params);
	// let getBanner = (params = {}) => vm.$u.get(bannerUrl);
	// let getArticle = (params = {}) => vm.$u.get(articleUrl);
	let getGuide = (params = {}) => vm.$u.get(guideUrl);
	vm.$u.api = {getGuide}
}

export default {
	install
}